import request from '@/utils/request'

/**
 * 修改产品附件
 * @param data
 * @returns {*}
 */
export function updateFiles(data) {
  return new Promise((resolve, reject) => {
    // request对象是对axios的封装，不用在意
    request({
      url: '/tourProduct/updateFiles',
      method: 'post',
      data
    }).then(ret => {
      resolve(ret.data)
    })
  })
}

